.set_value functions have no specified return value and gpio_uclass is
not working with it too. But this patch is returning 0 to be in sync
with others DM gpio drivers.
Reported-by: Stefan Herbrechtsmeier <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Stefan Herbrechtsmeier <[email protected]>
priv->output_val[bank] = val;
- return val;
+ return 0;
};
static int xilinx_gpio_get_value(struct udevice *dev, unsigned offset)